package com.example.a2205douyin.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.a2205douyin.entity.VideoEntity;

/**
 * 数据库
 * entities：所有表的class,用“，”拼接
 * version：版本号，暂时都只写1，因为没有做升级的方法
 * exportSchema：修改为false
 */
@Database(entities = {VideoEntity.DataBean.class,Account.class},version = 1,exportSchema = false)
public abstract class AppDataBase extends RoomDatabase {
    abstract VideoDao getVideoDao();
    abstract AccountDao getAccountDao();
}
